<?php
include '../connect/common_start.php';
if(isset($_REQUEST['user']))
{
	$user=$_REQUEST['user'];
	$result=mysql_query("SELECT * FROM member m WHERE (m.mem_id='$user' AND m.status='1')");
	if(mysql_num_rows($result)>0){
		$r = mysql_fetch_assoc($result);
		echo json_encode($r);
	}else{
		echo '[]';
	}

}
include '../connect/common_end.php';
?>
